package com.yxw.live_vod_backend_boot.service;

import com.yxw.live_vod_facade.dto.FileDTO;
import com.yxw.live_vod_facade.vo.YxFileVo;
import com.yxw.yxnet_cd_center.common.utils.BaseResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 文件上传接口
 */
public interface FileService {

    BaseResult<List<YxFileVo>> uploadFile(MultipartFile[] multipartFiles, Long objId, Integer classify, String remark);

    BaseResult<Boolean> deleteFile(FileDTO dto);

    BaseResult<String> downloadFile(FileDTO Dto);

    BaseResult<List<YxFileVo>> getFileListByBussId(Long bussId);

}
